const router = require('koa-router')()
const dbs = require('../../mysql/index').isconnect()

router.get('/contact', async ctx => {
  let res = await dbs.find('*', 'contactuser')
  ctx.body = { code: 200, result: res }
})

module.exports = router.routes()
